package com.leading.spring.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author chennan
 * @create 2021-05
 */

@EnableSwagger2
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableEurekaClient //启动eureka
public class DepatmentConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(DepatmentConsumerApplication.class, args);
    }
}
